package valerij_timakov.home_finances.logic;

import valerij_timakov.home_finances.exceptions.AppExceptionWrongState;
import valerij_timakov.home_finances.persistent.storages.finances.IIncomingsStorage;

public class IncomingsWorker {
	
	private IIncomingsStorage storage;
	
	public IncomingsWorker(IIncomingsStorage storage) throws AppExceptionWrongState {
		if (storage == null) {
			throw new AppExceptionWrongState("Не задан провайдер данных!");
		}
		this.storage = storage;
	}


}
